package com.xrit.pojo;

import java.io.Serializable;

public class Employess implements Serializable {
    private Integer empId;
    private String empName;
    private Integer empSal;
    private String empSex;
    private String createDate;
    private Departments departments;
    private Integer deptid;

    public Employess() {
    }

    public Employess(Integer empId) {
        this.empId = empId;
    }

    public Employess(Integer empId, String empName, Integer empSal, String empSex, String createDate, Departments departments, Integer deptid) {
        this.empId = empId;
        this.empName = empName;
        this.empSal = empSal;
        this.empSex = empSex;
        this.createDate = createDate;
        this.departments = departments;
        this.deptid = deptid;
    }

    @Override
    public String toString() {
        return "Employess{" +
                "empId=" + empId +
                ", empName='" + empName + '\'' +
                ", empSal=" + empSal +
                ", empSex='" + empSex + '\'' +
                ", createDate='" + createDate + '\'' +
                ", departments=" + departments +
                ", deptid=" + deptid +
                '}';
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public Integer getEmpSal() {
        return empSal;
    }

    public void setEmpSal(Integer empSal) {
        this.empSal = empSal;
    }

    public String getEmpSex() {
        return empSex;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public void setEmpSex(String empSex) {
        this.empSex = empSex;
    }

    public Departments getDepartments() {
        return departments;
    }

    public void setDepartments(Departments departments) {
        this.departments = departments;
    }
}
